The rounded corner effect is applied to the background actor, so
we have to reapply the correct values when the background changes
for the corners to persist.
https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4125
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2801>
useContentSize: false,
});
+ this._bgManager.connect('changed', () => {
+ this._updateRoundedClipBounds();
+ this._updateBorderRadius();
+ });
+
global.display.connectObject('workareas-changed', () => {
this._workarea = Main.layoutManager.getWorkAreaForMonitor(monitorIndex);
this._updateRoundedClipBounds();